<?php
// +----------------------------------------------------------------------
// | snake
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 http://baiyf.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: NickBai <1902822973@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\validate;

use think\Validate;

class MemberValidate extends Validate
{
    protected $rule = [
        ['name', 'require', '客户名不能为空'],
        ['phone', 'require', '联系电话不能为空'],
        ['phone', 'phone', '联系电话格式错误'],
        // ['adress', 'require', '地址不能为空'],
        ['grade', 'require', '等级不能为空'],
        ['status', 'require', '状态不能为空'],
    ];

}
